#!/bin/bash
ping -c1 www.baidu.com &>/dev/null && echo "www.baidu.com is up" || echo "www.baidu.com down!" 
/usr/bin/python <<-EOF
print "hello world"
EOF
